package org.springframework.example.t0830;

import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.config.RuntimeBeanNameReference;
import org.springframework.beans.factory.config.RuntimeBeanReference;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.event.ApplicationEventMulticaster;
import org.springframework.context.event.SimpleApplicationEventMulticaster;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.example.t0830.config.AppConfig;
import org.springframework.example.t0830.service.OrderService;
import org.springframework.example.t0830.service.User;
import org.springframework.example.t0830.service.UserService;

import java.util.concurrent.Executors;
import java.util.function.Supplier;

/**
 * @author: baiml
 * @Title: Client
 * @ProjectName: 中台技术平台
 * @Depart 中台研发部
 * @Description:
 * @date: 2021/8/30 10:07
 */
public class Client {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext();
		ac.register(AppConfig.class);
		ac.refresh();
		System.out.println(ac.getBean("user"));


	}
}
